package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.Hero;
import cn.wolfcode.ssm.query.HeroQueryObject;
import cn.wolfcode.ssm.query.PageResult;

import java.util.List;

public interface IHeroService {
    void insert(Hero hero);
    void delete(Long id);
    void update(Hero hero);

    Hero selectOne(Long id);
    List<Hero> selectAll();
    PageResult queryForList(HeroQueryObject qo);
}
